Skip to content

Update markdown2 to 2.4.2 #848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Dec 2, 2021

This PR updates markdown2 from 2.2.1 to 2.4.2.

Changelog

2.4.2

- [pull 408] Fix for fenced code blocks issue 396
- [pull 410] Be more strict on auto linking urls, RE DOS fix

2.4.1

- [pull 389] Tables extra: allow whitespace at the end of the underline row
- [pull 392] Pyshell extra: enable syntax highlighting if `fenced-code-blocks` is loaded.
- [pull 402] Regex DOS bandaid fix

2.4.0

- [pull 377] Fixed bug breaking strings elements in metadata lists
- [pull 380] When rendering fenced code blocks, also add the `language-LANG` class
- [pull 387] Regex DoS fixes

2.3.10

- [pull 356] Don't merge sequential quotes into a single blockquote
- [pull 357] use style=text-align for table alignment
- [pull 360] introduce underline extra
- [pull 368] Support for structured and nested values in metadata
- [pull 371] add noopener to external links

2.3.9

- [pull 335] Added header support for wiki tables
- [pull 336] Reset _toc when convert is run
- [pull 353] XSS fix
- [pull 350] XSS fix

2.3.8

- [pull 317] Temporary fix to issue 150
- [pull 319] Stop XML escaping the body of a link
- [pull 322] Don't auto link patterns surrounded by triple quotes
- [pull 324] Add class configurability to the enclosing tag
- [pull 328] Accept [X] as marked task

2.3.7

- [pull 306] Drop support for legacy Python versions
- [pull 307] Fix syntax highlighting test cases that depend on Pygments output
- [pull 308] Add support for Python 3.7
- [pull 304] Add Wheel package support
- [pull 312] Fix toc_depth initialization regression
- [pull 315] XSS fix

2.3.6

- [pull 282] Add TOC depth option
- [pull 283] Fix to add TOC html to output via CLI
- [pull 284] Do not remove anchors in safe_mode
- [pull 288] fixing cuddled-lists with a single list item
- [pull 292] Fix Wrong rendering of last list element
- [pull 295] link-patterns fix
- [pull 300] Replace a deprecated method
- [pull 301] DeprecationWarning: invalid escape sequence
- [pull 302] Fix "make test" in Python 3
- [pull 303] Fix CVE-2018-5773

2.3.5

- [pull 238] Fenced code blocks lang with leading space
- [pull 260] Search for items only within metadata header
- [pull 264] highlightjs language class support
- [pull 265] FIPS compliance
- [pull 274] Fix for double amp replacement inside link title

2.3.4

- [pull 243] task list extra visual changes
- [pull 245] Don't let "target-blank-lines" break footnotes
- [pull 247] Translatable footnote titles
- [pull 252] Add pipe escaping in table extension

2.3.3

- [pull 236] Fix for safe_mode links regression
- [pull 235] Fix for overgreedy regex in metadata
- [pull 237] Fix for header-ids extra non-alpha character issue

2.3.2

- [pull 204] toc extra Python 3 error
- [pull 207] Performance improvements
- [pull 210] Leading paragraph with fenced code blocks
- [pull 212] Target blank links extra
- [pull 215] Optional metadata fences
- [pull 218] Github style task list
- [pull 220] Numbering extra
- [pull 224] Metadata in blocks
- [pull 230] safe_mode changes

2.3.1

- [pull 131] Markdown "spoiler" extra
- [pull 170] html-classes support for table tags
- [pull 190] "strike" extra
- [pull 201] Allow empty table cells

2.3.0

- New "tables" extra for table syntax that matches GFM
<https://help.github.com/articles/github-flavored-markdown#tables> and
PHP-Markdown Extra <https://michelf.ca/projects/php-markdown/extra/#table>.
For example:

     | Header 1 | *Header* 2 |
     | -------- | -------- |
     | `Cell 1` | [Cell 2](http://example.com) link |
     | Cell 3   | **Cell 4** |

See <https://github.com/trentm/python-markdown2/blob/master/test/tm-cases/tables.text>
for examples and edge cases.

If you have documents using the 'wiki-tables' syntax and want to convert to the
'tables' syntax, there is a script to help with that here:
<https://github.com/trentm/python-markdown2/blob/master/tools/wiki-tables-to-tables.py>

2.2.3

- [issue 165] Fix an edge case in list parsing.

2.2.2

- [pull 156] Footnotes XML compatibility.
- [pull 157] Horizontal rule minimum length.
- [pull 162] Fix escaping fenced code block with safe mode
- [pull 163] Fix code highlight with safe mode
Links

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #904

@pyup-bot pyup-bot closed this Mar 28, 2023
@cclauss cclauss deleted the pyup-update-markdown2-2.2.1-to-2.4.2 branch March 28, 2023 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant